-- GENERATED SPELL FOR [Agam'ar] --


function spell0_4511(pUnit, Event) --@Rushing Charge,Self--
pUnit:FullCastSpellOnTarget(6268,pUnit)
pUnit:RegisterEvent('Sorts_4511', 3000, 1)
end

function Sorts_4511(pUnit, Event)
local choix_sorts_4511 = math.random(0, 0)
if choix_sorts_4511 == 0 then
pUnit:RegisterEvent('spell0_4511', 1, 1)
end
end

function mob4511_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_4511', math.random(1500, 3000), 1)
end

function mob4511_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4511_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4511_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(4511, 1, 'mob4511_Action')
RegisterUnitEvent(4511, 2, 'mob4511_Leave')
RegisterUnitEvent(4511, 3, 'mob4511_Kill')
RegisterUnitEvent(4511, 4, 'mob4511_Die')
